﻿using System;
using System.ServiceModel;

namespace Quebec.Silverlight.Utilities
{
    [ServiceContract(Namespace = "http://licenses.cloudapp.net/LicenseService")]
    public interface ILicenseService
    {
        [OperationContract(AsyncPattern = true)]
        IAsyncResult BeginValidateLicense(int productID, Guid productKey, AsyncCallback callback, Object state);
        bool EndValidateLicense(IAsyncResult result);
    }

}
